        <!--Body content-->
        <div id="content" class="clearfix">
            <div class="contentwrapper"><!--Content wrapper-->
                <div class="heading">
                    <h3>Forms</h3>                    
                    <div class="resBtnSearch">
                        <a href="#"><span class="icon16 icomoon-icon-search-3"></span></a>
                    </div>

                    <div class="search">

                        <form id="searchform" action="http://themes.suggeelson.com/supr/search.html">
                            <input type="text" id="tipue_search_input" class="top-search" placeholder="Search here ..." />
                            <input type="submit" id="tipue_search_button" class="search-btn" value=""/>
                        </form>
                
                    </div><!-- End search -->
                    
                    <ul class="breadcrumb">
                        <li>You are here:</li>
                        <li>
                            <a href="#" class="tip" title="back to dashboard">
                                <span class="icon16 icomoon-icon-screen-2"></span>
                            </a> 
                            <span class="divider">
                                <span class="icon16 icomoon-icon-arrow-right-2"></span>
                            </span>
                        </li>
                        <li class="active">Forms</li>
                    </ul>

                </div><!-- End .heading-->
    				
                <!-- Build page from here: Usual with <div class="row-fluid"></div> -->

                    <div class="row-fluid">

                        <div class="span6">

                            <div class="box">

                                <div class="title">

                                    <h4> 
                                        <span>Text fields</span>
                                    </h4>
                                    
                                </div>
                                <div class="content">
                                    <form class="form-horizontal" id="form-bahan" action="<?php echo base_url();?>bahan/action" method="POST">
                                        <div class="form-row row-fluid"> 
                                            <div class="span12">
                                                <div class="row-fluid">
                                                    <label class="form-label span4" for="placeholder">ID Bahan</label>
                                                    <input class="span8" <?php echo $readonly;?> id="id_bahan" name="id_bahan" type="text" placeholder="ID Bahan" value="<?php echo $data['id_bahan'];?>"/>
                                                </div>
                                            </div> 
                                        </div>
                                        <div class="form-row row-fluid"> 
                                            <div class="span12">
                                                <div class="row-fluid">
                                                    <label class="form-label span4" for="placeholder">Nama Bahan</label>
                                                    <input class="span8" id="nama_bahan" name="nama_bahan" type="text" placeholder="Nama Bahan" value="<?php echo $data['nama_bahan']?>" />
                                                </div>
                                            </div> 
                                        </div>
                                        <div class="form-row row-fluid"> 
                                            <div class="span12">
                                                <div class="row-fluid">
                                                    <label class="form-label span4" for="placeholder">Stok</label>
                                                    <input class="span8" id="stok" name="stok" type="text" placeholder="Stok" value="<?php echo $data['stok']?>" />
                                                </div>
                                            </div> 
                                        </div>
                                        <div class="form-row row-fluid">
                                            <div class="span12">
                                                <div class="row-fluid">
                                                    <label class="form-label span4" for="prependedInput">Harga</label>
                                                    <div class="input-prepend">
                                                        <span class="add-on">Rp</span><input class="span8" id="harga" name="harga" size="10" type="text" placeholder="0000" value="<?php echo $data['harga']?>" />
                                                    </div>         
                                                </div>
                                            </div>
                                        </div>
                                        <div class="form-row row-fluid">
                                            <div class="span12">
                                                <div class="row-fluid">
                                                    <label class="form-label span4" for="checkboxes">Satuan</label>
                                                    <div class="span8 controls">
														<select name="satuan">													
<?php if($this->uri->segment(2) == "update"){?>
                                                            <option value="<?php echo $data['id_satuan']; ?> " selected><?php echo $data['satuan']; ?></option>
<?php } ?>															
                                                        
                                                        <?php foreach($satuan as $row){?>
                                                            <option value="<?php echo $row->id_satuan; ?> "><?php echo $row->satuan; ?></option>
														<?php } ?>
                                                        </select>
														
                                                    </div> 
                                                </div>
                                            </div> 
                                        </div>
                                        <div class="form-row row-fluid">
                                            <div class="span12">
                                                <div class="row-fluid">
                                                    <label class="form-label span4" for="checkboxes">Kategori</label>
                                                    <div class="span8 controls">   
                                                        <select name="kategori">
<?php if($this->uri->segment(2) == "update"){?>
                                                            <option value="<?php echo $data['id_kategori_bahan']; ?> " selected><?php echo $data['nama_kategori_bahan']; ?></option>
<?php } ?>	
														<?php foreach($kategori as $row){?>
                                                            <option value="<?php echo $row->id_kategori_bahan; ?>"><?php echo $row->nama_kategori_bahan; ?></option>
														<?php } ?>
                                                        </select>
                                                    </div> 
                                                </div>
                                            </div> 
                                        </div>	
										<div class="form-actions">
                                           <button type="submit" class="btn btn-info" name="<?php echo $this->uri->segment(2);?>">Save changes</button>
                                           <button type="button" class="btn">Cancel</button>
                                        </div>
                                    </form>
                                </div>
                            </div><!-- End .box -->

                        </div><!-- End .span6 -->                  
                    </div><!-- End .row-fluid -->
            </div><!-- End contentwrapper -->
        </div><!-- End #content -->
